//
//  VMCWidgetDomain.m
//  vmcshop
//
//  Created by bigknife on 14/11/7.
//  Copyright (c) 2014年 idongler. All rights reserved.
//

#import "VMCWidgetDomain.h"
const WidgetType kWidgetTypeIndexBanner = @"index_banner";
const WidgetType kWidgetTypeFloorA = @"floor_a";
const WidgetType kWidgetTypeFloorB = @"floor_b";
const WidgetType kWidgetTypeFloorC = @"floor_c";

@implementation VMCWidgetDomain
-(void)setItems:(NSArray *)items{
    _items = [items mapWithBlock:^(NSDictionary *itemDict, NSInteger idx){
        VMCWidgetItemDomain *itemDomain = [[VMCWidgetItemDomain alloc]initWithDictionary:itemDict];
        return itemDomain;
    }];
}
@end
